Ext.define('StaffServer.view.batchLog.BatchLogSearchPanel', {
	extend : "Ext.form.Panel",
	alias : 'widget.batchLogSearchPanel',
	title : '查询条件',
	
	frame : true,
	labelAlign : 'right',
	border: true,
	bodyStyle : 'padding: 5px 5px 5px 35px',
	buttonAlign : 'center',
	
	layout: {
        type: 'vbox',
        align: 'stretch'
    },
    
    
    bodyBorder: 0,
    items: [{
        xtype: 'fieldcontainer',
        layout: 'hbox',
        fieldDefaults: {
            labelWidth: 70
        },
        defaultType: 'textfield',
        items: [{
            name: 'search_GTE_batchDate_DATE',
            xtype: 'datefield', 
            labelWidth: 120,
            format: 'Y-m-d',
            fieldLabel: '起始批处理日期'
        },{
            name: 'search_LTE_batchDate_DATE',
            xtype: 'datefield', 
            labelWidth: 120,
            format: 'Y-m-d',
            fieldLabel: '截止批处理日期',
            margin: '0 0 0 100'
        }]
    }],
	
	

	initComponent: function() {
		this.buttons = [ {
			action: 'search',
			text : '查询',
			iconCls : 'previewIcon',
			scope : this
		}, {
			action: 'reset',
			text : '重置',
			scope : this,
			iconCls : 'tbar_synchronizeIcon'
		} ];
		
		this.callParent(arguments);
		
	}
	
});